package moxl.relaxng.schema.patterns;

import moxl.relaxng.schema.Pattern;

public class GroupPattern implements Pattern
{
	private final Pattern red;
	private final Pattern blue;

	public GroupPattern(Pattern red, Pattern blue)
	{
		this.red = red;
		this.blue = blue;
	}

	public boolean nullable()
	{
		return red.nullable() && blue.nullable();
	}

}
